package com.family.thirdpart.feign;

import com.family.common.utils.R;
import com.family.thirdpart.crawler.to.HousingTo;
import com.family.thirdpart.fallback.FeignServiceFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "floor",fallback = FeignServiceFallBack.class)
public interface HorseFeignClient {
    @RequestMapping("floor/leadinghousing/save")
    R save(@RequestBody HousingTo leadingHousing);
}
